<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8" language="java"
	import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/page/base.jsp"%>
<%@ taglib prefix="d" uri="/doone-comm-ui-tags"%>

<html>
	<head>
		<title>详情信息管理</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link type="text/css" href="../manage/css/layout.css" rel="stylesheet" />
        <link type="text/css" href="../manage/css/new_style.css" rel="stylesheet" />
        <link rel="stylesheet" type="text/css"
			href="<%=path%>/manage/css/zTreeStyle.css" />
		<script type="text/javascript"
			src="<%=path%>/manage/js/jquery-1.4.4.min.js"></script>

		<script type="text/javascript"
			src="<%=path%>/manage/js/easyTooltip.js"></script>
		<script type="text/javascript"
			src="<%=path%>/manage/js/jquery-ui-1.8.11.custom.min.js"></script>
		<script type="text/javascript"
			src="<%=path%>/manage/js/jquery.wysiwyg.js"></script>
		<script type="text/javascript"
			src="<%=path%>/manage/js/hoverIntent.js"></script>
		<script type="text/javascript" src="<%=path%>/manage/js/superfish.js"></script>
		<script type="text/javascript" src="<%=path%>/manage/js/custom.js"></script>
		<script type="text/javascript"
			src="<%=path%>/manage/js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="<%=path%>/manage/js/jquery.ztree.core-3.1.js"></script>
	</head>
	
	<script type="text/javascript">
	   function  getChecked(){
	   $("#contengCks").val("");
	    $('input[name="copyContent"]:checked').each(function(){
                var sfruit=$(this).val();
                $("#contengCks").attr("value",$("#contengCks").val()+","+$(this).val());
                //alert(sfruit);
                });
            //  alert( $("#contengCks").val());
       }
	</script>
	<body>
		<div>
					
			<div>
				<!-- Tabs -->
				<div id="tabs">		
				 <s:hidden name="intCateId" id="intCateId"></s:hidden>
                    <s:hidden name="contengCks" id="contengCks"></s:hidden>                   
					<table class="fullwidth" cellpadding="0" cellspacing="0" border="0">
						<thead>
							<tr style="width:30px" valign="top">
								<td> 
									图片
								</td>
								<td>
									内容名称
								</td>
								<td>
									内容描述
								</td>
								<td>
									发布时间
								</td>
								<td>
									点击次数
								</td>
								<td width="50px">
									操作
								</td>

							</tr>
						</thead>
						<tbody>
							<s:iterator value="appContentList">
								<tr class="odd">
									<td>
										<img alt="" src="<s:property value="varContentImgUrl" />" width="76" height="53">
									</td>
									<td>
										<s:property value="varContentName" />
									</td>
									<td>
									<s:if test="varContentDescript.length()>20">
										<s:property value="varContentDescript.substring(0,20)" />
										</s:if>
										<s:else>
										<s:property value="varContentDescript" />
										</s:else>
									</td>
									<td>
										<s:property value="datAddDatetime" />
									</td>
									<td>
										<s:property value="intViewCount" />
									</td>
									<td>
									 <input type="checkbox" name="copyContent" value="<s:property value="intContentId" />" onclick="getChecked();">								  
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
						
				</div>
				<!-- 分页标签开始 -->
				<div align="right" style="float: right;">
					<d:page id="pageContent" template="details" skin="gray" >
					</d:page>
				</div>
			</div>
			<!-- 分页标签结束 -->
		</div>
	</body>
</html>
